package com.jiudengnile.liushu.biz.bo.impl;

import com.jiudengnile.liushu.biz.bo.BaseUserBO;
import com.jiudengnile.liushu.biz.dal.dao.BaseUserDAO;
import com.jiudengnile.liushu.biz.domains.BaseUserDO;

public class BaseUserBOImpl implements BaseUserBO {

	private BaseUserDAO baseUserDAO;
	
	public long create(BaseUserDO baseUser) {
		return baseUserDAO.create(baseUser);
	}

	@Override
	public BaseUserDO queryByEmail(String email) {
		return baseUserDAO.queryByEmail(email);
	}

	@Override
	public BaseUserDO queryByNick(String nick) {
		return baseUserDAO.queryByNick(nick);
	}

	public void setBaseUserDAO(BaseUserDAO baseUserDAO) {
		this.baseUserDAO = baseUserDAO;
	}

}
